<?
/**
 * <b>BestOfferType Class</b>
 * Published 04/11/2010 18:58:13
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('UserType.php');
require_once('BestOfferIDType.php');
require_once('BestOfferStatusCodeType.php');
require_once('BestOfferTypeCodeType.php');
require_once('AmountType.php');

class BestOfferType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var BestOfferTypeCodeType $BestOfferCodeType
	public $BestOfferCodeType;
	// @var BestOfferIDType $BestOfferID
	public $BestOfferID;
	// @var UserType $Buyer
	public $Buyer;
	// @var string $BuyerMessage
	public $BuyerMessage;
	// @var string $CallStatus
	public $CallStatus;
	// @var dateTime $ExpirationTime
	public $ExpirationTime;
	// @var AmountType $Price
	public $Price;
	// @var int $Quantity
	public $Quantity;
	// @var string $SellerMessage
	public $SellerMessage;
	// @var BestOfferStatusCodeType $Status
	public $Status;
 /** End Properties **/

/**
 *
 * @return BestOfferTypeCodeType
 */
	function getBestOfferCodeType(){
		return $this->BestOfferCodeType;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setBestOfferCodeType($value){
		$this->BestOfferCodeType = $value;
	}


/**
 *
 * @return BestOfferIDType
 */
	function getBestOfferID(){
		return $this->BestOfferID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setBestOfferID($value){
		$this->BestOfferID = $value;
	}


/**
 *
 * @return UserType
 */
	function getBuyer(){
		return $this->Buyer;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setBuyer($value){
		$this->Buyer = $value;
	}


/**
 *
 * @return string
 */
	function getBuyerMessage(){
		return $this->BuyerMessage;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setBuyerMessage($value){
		$this->BuyerMessage = $value;
	}


/**
 *
 * @return string
 */
	function getCallStatus(){
		return $this->CallStatus;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCallStatus($value){
		$this->CallStatus = $value;
	}


/**
 *
 * @return dateTime
 */
	function getExpirationTime(){
		return $this->ExpirationTime;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setExpirationTime($value){
		$this->ExpirationTime = $value;
	}


/**
 *
 * @return AmountType
 */
	function getPrice(){
		return $this->Price;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPrice($value){
		$this->Price = $value;
	}


/**
 *
 * @return int
 */
	function getQuantity(){
		return $this->Quantity;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setQuantity($value){
		$this->Quantity = $value;
	}


/**
 *
 * @return string
 */
	function getSellerMessage(){
		return $this->SellerMessage;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setSellerMessage($value){
		$this->SellerMessage = $value;
	}


/**
 *
 * @return BestOfferStatusCodeType
 */
	function getStatus(){
		return $this->Status;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setStatus($value){
		$this->Status = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("BestOfferType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"BestOfferCodeType"=>
					array(
						"required"=>false,
						"type"=>"BestOfferTypeCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"BestOfferID"=>
					array(
						"required"=>false,
						"type"=>"BestOfferIDType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Buyer"=>
					array(
						"required"=>false,
						"type"=>"UserType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"BuyerMessage"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"CallStatus"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ExpirationTime"=>
					array(
						"required"=>false,
						"type"=>"dateTime",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Price"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Quantity"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"SellerMessage"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Status"=>
					array(
						"required"=>false,
						"type"=>"BestOfferStatusCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
